Skip to content

Deprecate sequence from physical mesh axes#3722

Merged
copybara-service[bot] merged 1 commit intomainfrom
chengnuojin-bye-sequence
Apr 23, 2026
Merged

Deprecate sequence from physical mesh axes#3722
copybara-service[bot] merged 1 commit intomainfrom
chengnuojin-bye-sequence

Conversation

@NuojCheng
Copy link
Copy Markdown
Collaborator

@NuojCheng NuojCheng commented Apr 22, 2026

Description

This PR deprecates sequence mesh axis, which maxtext no longer uses.

Tests

CI

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Collaborator

@gobbleturk gobbleturk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also update our documentation at sharding.md

Copy link
Copy Markdown
Collaborator

@gobbleturk gobbleturk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about removing sequence from the model code e.g. attention.py?

@bvandermoon
Copy link
Copy Markdown
Collaborator

What about removing sequence from the model code e.g. attention.py?

LGTM pending this comment

@NuojCheng NuojCheng force-pushed the chengnuojin-bye-sequence branch from 52ff5ef to e4ea4cc Compare April 23, 2026 00:35
@NuojCheng NuojCheng requested a review from jacoguzo as a code owner April 23, 2026 00:35
@NuojCheng
Copy link
Copy Markdown
Collaborator Author

What about removing sequence from the model code e.g. attention.py?

Could you elaborate more on sequence from the model code? I don't think we have sequence explicitly mentioned in the model code, as they are governed by the logical rule. @gobbleturk

@NuojCheng NuojCheng force-pushed the chengnuojin-bye-sequence branch from e4ea4cc to e0f17a0 Compare April 23, 2026 16:15
@copybara-service copybara-service Bot merged commit 532c8b3 into main Apr 23, 2026
59 of 63 checks passed
@copybara-service copybara-service Bot deleted the chengnuojin-bye-sequence branch April 23, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants